package trunk.frontend;

import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.JPanel;
import javax.swing.JComponent;

public class JVerticalPanel extends JPanel {
	
	private GridBagConstraints gbc;
	private GridBagLayout gbl;

	/**
	 * Default
	 */
	private static final long serialVersionUID = 1L;

	public JVerticalPanel() {
		super();
		
		gbl = new GridBagLayout();
		gbc = new GridBagConstraints();
		
		gbc.anchor = GridBagConstraints.NORTH;
		gbc.gridx = 0;
		gbc.gridy = GridBagConstraints.RELATIVE;
		
		setLayout(gbl);
	}
	
	public void add(JComponent jcomp) {
		super.add(jcomp, gbc);
	}
	
}
